from selenium import webdriver
from selenium.webdriver.common.by import By

path = '../../chromedriver'
options = webdriver.ChromeOptions()
options.add_experimental_option("detach", True)
options.add_argument("--headless")
browser= webdriver.Chrome(options=options)
url = 'https://me.pharnexcloud.com/login/signin?redirect=https://data.pharnexcloud.com/&type=11'
browser.get(url)

browser.find_element(By.XPATH, '/html/body/div/div/div[1]/div/div[1]/div[3]').click()

browser.find_element(By.XPATH, '/html/body/div/div/div[1]/div/div[2]/div[1]/input').send_keys('13700087105')
browser.find_element(By.XPATH, '/html/body/div/div/div[1]/div/div[2]/div[2]/input').send_keys('Liuchuang0428!')
browser.find_element(By.XPATH,'/html/body/div/div/div[1]/div/div[2]/button').click()

#app > div > div.content.mobile-item > div > div.password > div:nth-child(1) > input